package no.ntnu.fp.client;

public class MeetingRoom {

	private String id;
	private int capacity;
	private String name;
	
	public MeetingRoom(int id, String name, String capacity) {
		this.id = String.valueOf(id);
		this.capacity = Integer.parseInt(capacity);
		this.name = name;
	}
	
	public String toString() {
		String s = name + "\t(" + id + ")\t" + capacity;
		return "<html>" + "<pre>" + s + "</pre>" + "<html>";
	}
	
	public String getID() {
		return id;
	}
	
	public int getCapacity() {
		return capacity;
	}
}
